/*
 * Copyright © 2016 Cask Data, Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */

@import "../../styles/variables.scss";

footer {
  background-color: white;
  font-size: 11px;
  font-weight: 600;
  z-index: 0;
  position: absolute;
  width: 100%;
  bottom: 0;
  border-top: solid 1px #cdcdcd;

  span.cask-logo {
    background: url('/cdap_assets/img/cask_footer_logo.svg') 0 0 no-repeat;
    display: inline-block;
    margin-top: -4px;
    margin-right: 3px;
    height: 40px;
    width: 45px;
    vertical-align: top;
  }
  > .container {
    padding-right: 15px;
    padding-left: 15px;
  }
  div.text-muted {
    margin: 0;

    $md-max: map-get($grid-breakpoints, md);

    > div {
      @media (min-width: $md-max) {
        &:first-child { text-align: left; }
        &:last-child { text-align: right; }
      }

      @media (max-width: $md-max) { text-align: center; }
    }
  }
  img {
    height: 26px;
    width: 26px;
    margin-right: 8px;
  }
  p,
  ul {
    height: $height-of-footer;
    line-height: $height-of-footer;
    margin: 0;
  }
}
